package ysq.xyg.host.service;

import ysq.xyg.base.model.dto.ReturnEntity;
import ysq.xyg.base.service.BaseService;
import ysq.xyg.host.model.dto.HostPriceSearchDto;
import ysq.xyg.host.model.po.HostPriceSearch;
import ysq.xyg.sys.model.po.SysUser;
import ysq.xyg.host.model.vo.HostPriceSearchVo;

import java.util.List;

/**
 * 房产-价格搜查表service接口
 *
 * @author congcong tao
 * @date 2019-12-11 15:06:27
 */
public interface HostPriceSearchService extends BaseService<HostPriceSearch> {

    /**
     * 分页查询
     *
     * @param hostPriceSearchVo 对象
     * @param pageSize 当前页面
     * @param pageNum 页面数量
     * @return ReturnEntity 对象
     * @author congcong tao
     * @date 2019-12-11 15:06:27
     */
    ReturnEntity page(HostPriceSearchVo hostPriceSearchVo, int pageSize, int pageNum);

    /**
     * 修改
     *
     * @param hostPriceSearchVo 对象
     * @param currentUser 当前用户
     * @return ReturnEntity 对象
     * @author congcong tao
     * @date 2019-12-11 15:06:27
     */
    ReturnEntity addOrUpdate(HostPriceSearchVo hostPriceSearchVo, SysUser currentUser);

    /**
     * 删除
     *
     * @param id 主键id删除
     * @param currentUser 当前用户
     * @return ReturnEntity 对象
     * @author congcong tao
     * @date 2019-12-11 15:06:27
     */
    ReturnEntity delete(String id, SysUser currentUser);

    /**
     * 获取集合
     *
     * @param hostPriceSearchVo 对象
     * @return List<HostPriceSearch> HostPriceSearch集合
     * @author congcong tao
     * @date 2019-12-11 15:06:27
     */
    List<HostPriceSearch> acceptList(HostPriceSearchVo hostPriceSearchVo);

    List<HostPriceSearchDto> selectHostPriceSearchByCityIdList(String cityId);
}
